<?php
include("../tools/session.php");

// 如果登录成功
if ($is_login_success === true)
{
   echo "<script language=\"javascript\">window.location = \"wp/frames.php\"</script>";
}
// 如果登录失败
else
{
   include("tpl-inc.php");
   $tpl->display($oa_tpl_path . "/default/index.html");
}

?>
